<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ include file="header.jsp" %>
<h1>
	<c:choose>
		<c:when test="${user.profile.gender=='FEMALE'}">Bienvenida</c:when>
		<c:when test="${user.profile.gender=='MALE'}">Bienvenido</c:when>
		<c:otherwise>Bienvenido/a</c:otherwise>
	</c:choose>
	${user.name}
</h1>
<div class="featurebox_center" id="search" >
	<h3>Administrador</h3>
	<c:if test="${!empty flash}">
		<div class="alert textCentered">${flash}</div>
	</c:if>
	
	<p> <i>Su &uacute;ltima visita fue el <fmt:formatDate pattern="dd/MM/yyyy" value="${user.lastAccess}"/>.</i></p>
	<br />	
</div>
<%@ include file="footer.jsp" %>